home *** CD-ROM | disk | FTP | other *** search
- Hi dickow,
-
- In a message of 08 Jan 96 you wrote to All:
-
- d> Now, the AmiTCP setup I use creates the HOSTNAME environment variable
- d> such that it actually calls this AmiTCP:/bin program of the same name.
- d> Not long ago, however, I discovered some 'other' TCP client software
- d> ('mail' or 'sendmail'...can't remember) that expected the env variable to
- d> be a copy of the string, not the command reference. You might check to
- d> see if other programs want an environment variable with the same name but
- d> different format.
-
- The problem I have is that Putmail simply can't read the HOSTNAME variable even
- though it exists. I have to use the follwing two command lines in my startmail
- script to make it work:
-
- set PutMailHOST `getenv HOSTNAME`
- setenv HOSTNAME `get PutMailHOST`
-
- These look obviously redundant, but it works. After doing this Putmail can read
- the HOSTNAME variable. Any ideas?
-
- Regards,
-
- Mark
-
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- mpa@wvision.iig.com.au Cairns
- Wishful Vision Australia
-
-